﻿//Copyright (C) <2013>  <jonathan cleeve norton> All Rights Reserved 
//Contact jon.norton@fin-plus.co.uk website <http://www.fin-plus.co.uk/>
using System.Windows.Controls;
using FinPlusCommon;

namespace FinPlusWPFControls
{
    public partial class FinPlusMenuBar : FinPlusControl
    {
        //construct
        public FinPlusMenuBar(IFinPlusComp[] menuItems)
        {
            InitializeComponent();
            foreach(FinPlusMenuItem menuItem in menuItems)
                Menu.Items.Add(menuItem.MenuItem);
         }
   }
}
